<?php
class Mageex_RelatedProduct_Helper_Config extends Mage_Core_Helper_Abstract
{
	protected $_storeId;
	public function __construct()
	{
		$this->_storeId = Mage::app()->getStore()->getId();
	}
	public function isMageexBlocksEnable()
	{
		return Mage::getStoreConfig('relatedproduct/mageex_blocks/enabled', $this->_storeId);
	}
	public function isRelatedProductEnable()
	{
		return Mage::getStoreConfig('relatedproduct/related/enabled', $this->_storeId);
	}
	public function isReplaceNative()
	{
		return Mage::getStoreConfig('relatedproduct/related/replacenative', $this->_storeId);
	}
	public function getRelatedNumberItems()
	{
		return Mage::getStoreConfig('relatedproduct/related/numberitems', $this->_storeId);
	}
	
	public function getRelatedNumberItemsFeatured()
	{
		return Mage::getStoreConfig('relatedproduct/related/numberitemsfeature', $this->_storeId);
	}
	public function getRelatedSource()
	{
		return Mage::getStoreConfig('relatedproduct/related/source', $this->_storeId);
	}
	public function getRelatedSelect()
	{
		return Mage::getStoreConfig('relatedproduct/related/selectproduct', $this->_storeId);
	}
	public function getRelatedApplyPrice()
	{
		return Mage::getStoreConfig('relatedproduct/related/applyprice', $this->_storeId);
	}
	public function getRelatedOperator()
	{
		return Mage::getStoreConfig('relatedproduct/related/price', $this->_storeId);
	}
	public function getRelatedPriceValue()
	{
		return Mage::getStoreConfig('relatedproduct/related/pricevalue', $this->_storeId);
	}
}